package com.sky.vo;

import com.sky.vo.AuthorVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "评论信息返回的数据格式")
public class CommentVO {
    @ApiModelProperty("主键值")
    private String id;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("发布时间")
    private Date createTime;
    @ApiModelProperty("点赞数")
    private Integer likeCount;
    @ApiModelProperty("是否点赞")
    private Boolean isLiked;
    @ApiModelProperty("回复数")
    private Integer replyCount;
    @ApiModelProperty("作者")
    private AuthorVO author;
}